package com.example.demo;

import com.example.demo.mapper.MealMapper;
import com.example.demo.mapper.MealOrderMapper;
import com.example.demo.model.domain.MealOrder;
import com.example.demo.service.MealOrderService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class MealOrderTesst {
    @Autowired
    MealOrderService mealOrderService;
    @Test
    public void Test() {
        MealOrder order = new MealOrder().setWriterId(1);
        mealOrderService.save(order);
        System.out.println(order);
    }
}
